package com.stillalive.mq.common;

import lombok.AllArgsConstructor;
import lombok.Getter;
import lombok.NoArgsConstructor;
import lombok.Setter;

/**
 * 消费者完整的执行环境
 */
@Getter
@Setter
@AllArgsConstructor
@NoArgsConstructor
public class ConsumerEnv {
    private String consumerTag;
    private String queueName;
    private boolean autoAck;
    // 通过这个回调处理收到的消息
    private Consumer consumer;

}
